//
//  SceneryTableViewCell.m
//  littleLight's Project-A
//
//  Created by dllo on 16/5/19.
//  Copyright © 2016年 light. All rights reserved.
//

#import "SceneryTableViewCell.h"
#import <UIImageView+WebCache.h>
@implementation SceneryTableViewCell


-(void)setModel:(SceneryModel *)model
{
    _model = model;
    self.nameLabel.text = _model.name;
    self.contentLabel.text = _model.recommended_reason;
    [self.cover_s sd_setImageWithURL:[NSURL URLWithString:_model.cover_s] placeholderImage:[UIImage imageNamed:@"Reserve"]];
    self.visited_countLabel.text = [NSString stringWithFormat:@"%@ 人去过",[_model.visited_count stringValue]];
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
